package com.ygqh.baby.ao;

/** 订单状态 */
public enum ReturnStatus {
	/**
	 * 退换货状态 WaitingCheck 待审核 WaitingReturnGoods 待退货 WaitingInStock 待入库
	 * WaitingSign 待签收 WaitingReturnMoney 待退款 Complete 已完成 Cancel 取消申请 Reject
	 * 审核未通过 WaitingSend 待发货
	 */
	WaitingCheck(-1, "待审核"), WaitingReturnGoods(1, "待退货"), WaitingInStock(2, "待入库"),
	WaitingSign(10, "待签收"), WaitingReturnMoney(11, "待退款"), Complete(20, "已完成"),
	Cancel(30, "取消申请"), Reject(40, "审核未通过"), WaitingSend(50, "待发货");

	/** 状态码 */
	private Integer code;
	/** 状态名称 */
	private String title;

	ReturnStatus(Integer code, String title) {
		this.code = code;
		this.title = title;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
}
